home *** CD-ROM | disk | FTP | other *** search
- Path: csus.edu!pluto!michael_
- From: michael_@sfsu.edu (Michael J. Legac)
- Newsgroups: comp.lang.c++
- Subject: Alternatives to cin?
- Date: 13 Feb 1996 21:50:23 GMT
- Organization: San Francisco State University
- Message-ID: <4fr12v$htt@news.csus.edu>
- NNTP-Posting-Host: michael_@pluto.sfsu.edu
- X-Newsreader: TIN [version 1.2 PL2]
-
-
- I've been programming in C/C++ for about a year and a half now;
- primarily for my school classes, but I've yet to find an alternative to
- the kludgy cin/scanf. I mainly code with gcc/g++, on my school's Solaris 5.3
- system and at home on Linux.
- Basically, I just want to get rid of the <CR> cin requires. I
- guess what I'm looking for is either some way to do key bindings. I've
- done this before in Pascal and ASM on the PC, using interupts, but I'm
- sure there is a more portable way. Any code I write, I'd like to compile
- and run on either UNIX/Linux/x86.
- Comments/suggestions are appreciated.
-
- TIA,
-
- /Michael
-